scipy.ndimage.interpolation.rotate 示例代码

您所在的位置:网站首页 python nrrd scipy.ndimage.interpolation.rotate 示例代码

scipy.ndimage.interpolation.rotate 示例代码

#scipy.ndimage.interpolation.rotate 示例代码| 来源: 网络整理| 查看: 265

以下示例是关于python中包含scipy.ndimage.interpolation.rotate用法的示例代码,想了解scipy.ndimage.interpolation.rotate的具体用法?scipy.ndimage.interpolation.rotate怎么用?scipy.ndimage.interpolation.rotate使用的例子?那么可以参考以下10个相关示例代码来学习它的具体使用方法。

示例1: data_processing.py开发语言: Python项目名称: diplomka代码行数: 33650 theta = random.randint(-10, 10) 51 # vox_new = scipy.ndimage.interpolation.rotate(get_raw_voxel_value(voxels), theta, reshape=False) 52 vox_new = scipy.ndimage.interpolation.rotate(voxels, theta, reshape=False) 53 lbl_new = scipy.ndimage.interpolation.rotate(lbls, theta, reshape=False) 54 # return add_positions_to_raw_voxels(vox_new, voxels), lbl_new 示例2: data_processing2.py开发语言: Python项目名称: diplomka代码行数: 33650 theta = random.randint(-10, 10) 51 # vox_new = scipy.ndimage.interpolation.rotate(get_raw_voxel_value(voxels), theta, reshape=False) 52 vox_new = scipy.ndimage.interpolation.rotate(voxels, theta, reshape=False) 53 lbl_new = scipy.ndimage.interpolation.rotate(lbls, theta, reshape=False) 54 # return add_positions_to_raw_voxels(vox_new, voxels), lbl_new 示例3: export_data_processing.py开发语言: Python项目名称: diplomka代码行数: 33650 theta = random.randint(-10, 10) 51 # vox_new = scipy.ndimage.interpolation.rotate(get_raw_voxel_value(voxels), theta, reshape=False) 52 vox_new = scipy.ndimage.interpolation.rotate(voxels, theta, reshape=False) 53 lbl_new = scipy.ndimage.interpolation.rotate(lbls, theta, reshape=False) 54 # return add_positions_to_raw_voxels(vox_new, voxels), lbl_new 示例4: export_data_processing2.py开发语言: Python项目名称: diplomka代码行数: 33450 theta = random.randint(-10, 10) 51 # vox_new = scipy.ndimage.interpolation.rotate(get_raw_voxel_value(voxels), theta, reshape=False) 52 vox_new = scipy.ndimage.interpolation.rotate(voxels, theta, reshape=False) 53 lbl_new = scipy.ndimage.interpolation.rotate(lbls, theta, reshape=False) 54 # return add_positions_to_raw_voxels(vox_new, voxels), lbl_new 示例5: simple-with-oversampling.py开发语言: Python项目名称: tomographylab代码行数: 17044 np.sum( 45 scipy.ndimage.interpolation.rotate( 46 target, 示例6: hmax.py开发语言: Python项目名称: hmax_word代码行数: 591320 fxx = self.addZeros(fxx,cropOff) 321 fxx = scipy.ndimage.interpolation.rotate(fxx,45,reshape=False,order=1) 322 fxx = fxx[cropOff:fieldSize+cropOff,cropOff:fieldSize+cropOff] 示例7: final_eval.py开发语言: Python项目名称: diplomka代码行数: 142117 # Rotate and flip annotations to match volumes 118 gt_seg = scipy.ndimage.interpolation.rotate(gt_seg, 90, axes=(2, 0), order=0) 119 138 nrrd.write(f"{data_dir}/results2/labels_upscaled/{i}_labels.nrrd", new_seg) 139 new_seg = scipy.ndimage.interpolation.rotate(new_seg, -90, axes=(2, 0), order=0) 140 nrrd.write(f"{data_dir}/results2/labels_upscaled/rotated/{i}_rotated.nrrd", new_seg) 示例8: simple.py开发语言: Python项目名称: tomographylab代码行数: 16344 np.sum( 45 scipy.ndimage.interpolation.rotate( 46 target, 示例9: prepare_pickles.py开发语言: Python项目名称: diplomka代码行数: 12587 # Rotate and flip annotations to match volumes 88 seg = scipy.ndimage.interpolation.rotate(seg, 90, axes=(2, 0), order=0) 89 # Saves data 示例10: prepare_pickles2.py开发语言: Python项目名称: diplomka代码行数: 158111 # Rotate and flip annotations to match volumes 112 gt_seg = scipy.ndimage.interpolation.rotate(gt_seg, 90, axes=(2, 0), order=0) 113

本文地址:https://www.itbaoku.cn/snippets/624009.html

上一篇:scipy.ndimage.interpolation.map_coordinates 示例代码 下一篇:scipy.ndimage.interpolation.shift 示例代码 相关源代码片段分享 scipy.ndimage.in... scipy.ndimage.in... scipy.ndimage.ro... scipy.ndimage.in... scipy.ndimage.in... scipy.ndimage.in... scipy.ndimage.in... scipy.ndimage.sh... scipy.ndimage scipy.ndimage.ma... scipy.ndimage.un... scipy.ndimage.fi... scipy.ndimage.fi... scipy.ndimage.mo... scipy.ndimage.me... scipy.ndimage.zo... scipy.ndimage.me... scipy.ndimage.la... scipy.ndimage.co... scipy.ndimage.su... scipy.ndimage.fi... scipy.ndimage.im... scipy.ndimage.so... scipy.ndimage.mi... scipy.ndimage.ma... scipy.ndimage.hi... scipy.ndimage.ex... scipy.ndimage.va... scipy.ndimage.me... scipy.ndimage.ga... 相关文章   在scipy.ndimage....   scipy.ndimage.i...   如何使用 scipy.ndim...   scipy ndimage测量...   scipy ndimage.c...   标准化scipy.ndimag...   如何使用scipy.ndima...   scipy.ndimage.z...   matlab和scipy.nd...   scipy.ndimage.f...   如何使用scipy.ndima...   在scipy.ndimage....   使用scipy.ndimage...   FireFox中的$inter...   代码示例   示例代码   为什么Scipy的ndimag...   ng | bind | htm... 相关教程 Scipy教程 SciPy初学者教程 - 从基本到高级概念的简单简单步骤学习SciPy,包括简介,环境设置,基本功能... Scipy教程 Google跟踪代码管理器教程 适用于初学者的Google跟踪代码管理器教程 - 从基本概念到高级概念,从简单而简单的步骤学习Goo... Google跟踪代码管理器教程 Entity Framework 教程 初学者Entity Framework教程 - 从基本到高级概念的简单简单步骤学习实体框架,其中包括... Entity Framework 教程 BabelJS 教程 BabelJS初学者教程 - 从基本到高级概念的简单简单步骤学习BabelJS,其中包括概述,环境设... BabelJS 教程 HTTP教程 初学者HTTP教程 - 从基本概念到高级概念,从简单易懂的步骤学习HTTP协议(超文本,传输,基于R... HTTP教程 Spring Boot教程 初学者的Spring Boot教程 - 从基本到高级概念的简单简单步骤学习Spring Boot,其... Spring Boot教程


【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3